package cn.foolishbird.basic.step;

/**
 * @author Eric
 * @version 1.0
 * @date 2019-12-16
 */
public abstract class AbstractPageStep<T> implements Step<T> {

    private int page;

    private int size;

    public AbstractPageStep(int page, int size) {
        this.page = page;
        this.size = size;
    }

    @Override
    public void nextStep() {
        page++;
    }
}
